package com.repository;

import com.entity.Option;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OptionRepository extends JpaRepository<Option,Long> {
    List<Option> findByContent(String content);
    List<Option> findByLabel(String label);
    List<Option> findByIsAnswer(boolean isAnswer);

}
